//导入request.js请求工具
import request from '@/utils/request'



export const addCommentService=(form)=>{

    return request.post("/comment/add",form);
}



export const getCommentByChannelIdService=(id)=>{

    return request.post("/comment/getCommentByChannelId/"+id);
}


//保存回复评论
export const addReplyService=(form)=>{

    return request.post("/comment/addReply",form);
}
